<template>
  <div class="info_chunk">
    <a-form-item
      :label="formData.hideTitle ? '':`${formData.name || ' '}`"
      :colon="formData.name ? true: false"
      :required="formData.required"
      :extra="formData.extra"
    >
      <a-radio-group :value="formData.defaultValue" :disabled="formData.disabled">
        <a-radio
          v-for="(item,index) in formData.opts"
          :key="index"
          :value="`${item.value}`"
        >{{ item.value }}</a-radio>
      </a-radio-group>
    </a-form-item>
  </div>
</template>

<script>
export default {
  name: 'RadioInfo',
  props: {
    formData: {
      type: Object,
      default: () => {}
    }
  }
}
</script>
<style scoped lang="less">
</style>
